cmake_minimum_required(VERSION 2.8.12.2)
project(TpcServer)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(CMAKE_CXX_STANDARD_REQUIRED ON) # 确保必须使用指定的标准

add_executable(TpcServer TpcServer.cc)
target_link_libraries(TpcServer jsoncpp)

add_executable(Client Client.cc)
target_link_libraries(Client jsoncpp)
